package com.syt.tank.message;

import flex.messaging.io.amf.ASObject;

public class ChatToEveryoneMsg extends AbstractMessage {

	private String content;
	
	public ChatToEveryoneMsg(String playerFrom, String playerTo) {
		super(playerFrom, playerTo, MessageIds.CHAT_TO_EVERYONE_ID);
	}

	@Override
	ASObject getAsObject() {
		ASObject as = new ASObject();
		as.put("content", this.content);
		return as;
	}


	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}
	
	

}
